﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SharpBolt.BasicIntefaces;
using SharpBolt.Time;
using SharpBolt.Graphics;
using SharpBolt.Input;
using SharpBolt.Animation;

namespace SharpBolt
{
    public class Global
    {
        public static IMiscs Miscs { get; set; }
        public static IGraphicRender GraphicRender { get; set; }
        public static ISoundRender SoundRender { get; set; }
        public static TimeManager TimeManager { get; set; }
        public static InputObserver InputObserver { get; set; }

        public static Painter Painter{get;set;}
        public static AnimatorManager AnimatorManager { get; set; }

        private static Random random;
        public static Random Random
        {
            get {
                if (random == null) random = new Random();
                return Global.random; }

            set {
            }
        }
    }
}
